#ifndef DLG_PRESERVE_LOCAL_CMD_H
#define DLG_PRESERVE_LOCAL_CMD_H

#include <QDialog>
#include "mainwindow.h"//引用model变量


namespace Ui {
class Dlg_Preserve_Local_CMD;
}

class Dlg_Preserve_Local_CMD : public QDialog
{
    Q_OBJECT

public:
    explicit Dlg_Preserve_Local_CMD(QWidget *parent = 0);
    ~Dlg_Preserve_Local_CMD();

signals:
    void send_local_frame(const char *data, qint64 len);

private slots:
    void on_tableView_clicked(const QModelIndex &index);
    void on_pushButtonSend_clicked();
    void on_pushButtonInsetRow_clicked();
    void on_pushButtonDelRow_clicked();
    void on_pushButtonSave_clicked();

private:
    Ui::Dlg_Preserve_Local_CMD *ui;
};

#endif // DLG_PRESERVE_LOCAL_CMD_H
